package com.ctshk.rpc.scenic.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author xuhui
 * @since 2/2/2021
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ScenicProductChannelOfflineAgentCustomDTO对象", description="门票线下代理商自定义权限")
public class ScenicProductChannelOfflineAgentCustomDTO implements Serializable {

    @ApiModelProperty(value = "自营渠道类型，1 代理禁售，2 所有代理 3 指定部门/人员 ")
    private String visableType;

    @ApiModelProperty(value = "名称")
    private String agentName;

    @ApiModelProperty(value = "代理商id")
    private Long agentId;

    @ApiModelProperty(value = "加幅类型")
    private Integer adjustType;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "百分比")
    private Double percent;

    @ApiModelProperty(value = "是否设置限购")
    private Integer isLimit;

    @ApiModelProperty(value = "限购数量")
    private Integer limitNum;

    @ApiModelProperty(value = "成本价格 成本呢加上服務費")
    private BigDecimal price;

    @ApiModelProperty(value = "成本加加幅价格")
    private BigDecimal allPrice;

    @ApiModelProperty(value = "服務費")
    private BigDecimal reserveCharge;
}